home *** CD-ROM | disk | FTP | other *** search
- ABS(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- AABBSS, DDAABBSS, QQAABBSS, IIAABBSS, IIIIAABBSS, JJIIAABBSS, KKIIAABBSS, CCAABBSS, CCQQAABBSS, CCDDAABBSS -
- Computes absolute value
-
- SSYYNNOOPPSSIISS
- AABBSS (([AA==]_a))
- DDAABBSS (([AA==]_a))
- QQAABBSS (([AA==]_a))
- IIAABBSS (([AA==]_a))
- IIIIAABBSS (([AA==]_a))
- JJIIAABBSS (([AA==]_a))
- KKIIAABBSS (([AA==]_a))
- CCAABBSS (([AA==]_a))
- CCDDAABBSS (([AA==]_a))
- CCQQAABBSS (([AA==]_a))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: QQAABBSS, IIIIAABBSS, JJIIAABBSS, KKIIAABBSS, CCQQAABBSS, CCDDAABBSS
-
- DDEESSCCRRIIPPTTIIOONN
- AABBSS is the generic function name; the others are specifics. These are
- elemental intrinsic functions. They accept the following arguments:
-
- _x Must be a numeric data type (real, complex, or integer) of
- any supported kind type. See the RETURN VALUES section for
- more information on input data types and return values.
-
- These functions evaluate as follows: _y = |_x|, except for CCAABBSS and
- CCDDAABBSS, which evaluate the following:
- 2 2 1/2
- _y = |(_x + _x ) |
- _r _i
- NNOOTTEESS
- The AABBSS, IIAABBSS, DDAABBSS, and CCAABBSS intrinsic function names can be passed
- as arguments; the others cannot.
-
- On CRAY T90 systems that support IEEE arithmetic, the following return
- values occur:
-
- AABBSS((_x)):
-
- |_x| = infinity, result is infinity.
-
- _x = NaN, result is NaN.
-
- CCAABBSS((_x))::
-
- _x or _y = NaN, result is NaN.
-
- |_x| = infinity and _y is not NaN, result is infinity.
-
- |_y| = infinity and _x is not NaN, result is infinity.
-
- RREETTUURRNN VVAALLUUEESS
- AABBSS returns the absolute value of its argument. The data type of the
- result is the same as the data type of _a except that if input argument
- _a is type complex, the result is type real.
-
- DDAABBSS returns the double-precision absolute value of its
- double-precision argument.
-
- QQAABBSS returns the quad-precision absolute value of its quad-precision
- argument.
-
- IIAABBSS returns the integer absolute value of its integer argument.
-
- IIIIAABBSS returns the integer (KIND=2) absolute value of its integer
- (KIND=2) argument.
-
- JJIIAABBSS returns the integer (KIND=4) absolute value of its integer
- (KIND=4) argument.
-
- KKIIAABBSS returns the integer (KIND=8) absolute value of its integer
- (KIND=8) argument.
-
- CCAABBSS returns the absolute value of its single-precision complex
- argument as a single-precision real number.
-
- CCDDAABBSS returns the absolute value of its complex double-precision
- argument as a double-precision real number.
-
- CCQQAABBSS returns the absolute value of its complex quad-precision
- argument as a quad-precision real number.
-
- The data type and kind type for single-precision, double-precision,
- and quad-precision values differ depending on your platform. For
- platform-specific information, see the TERMINOLOGY section of the
- IINNTTRROO__IINNTTRRIINN(3I) man page.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-